package stu.aistar.service;

import com.github.pagehelper.PageInfo;
import stu.aistar.model.pojo.Orders;

import java.util.List;

public interface IOrdersService {
    Integer insertOrders(Orders orders);
    Integer updateOrdersState(String ordersNo);
    List<Orders> findOrdersByUserId(Integer userId);
    Orders findOrdersByOrdersNo(String ordersNo);

    PageInfo<Orders> findOrdersByPage(String page, String pageSize, String username, String ordersNo, String state);
}
